package edu.scsu.csci;

/**
 * <p> Holds any possible error that might have occurred during the processing of a particular request.
 * 
 * <p> Provides a way to asscoiate an error with an illegal value for the domain object's attrbute. 
 *
 * @author Maqbool Khan
 * @since jdk 1.5
 * @see	edu.scsu.csci.IExecutionErrors
 * @viz.diagram IExecutionError.tpx
 */
public interface IExecutionError {

	/**
	 * @return
	 */
	public abstract String getErrorMessage();

	/**
	 * @param errorMessage
	 */
	public abstract void setErrorMessage(String errorMessage);

	/**
	 * @return
	 */
	public abstract String getFieldName();

	/**
	 * @param fieldName
	 */
	public abstract void setFieldName(String fieldName);

}